﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Smile.Mvvm.Mediator
{
    public interface IMessengerService
    {
        // @Members function
        void Register(string message, Action callback);
        void Register<T>(string message, Action<T> callback);
        void NotifyColleagues(string message, object parameter);
        void NotifyColleagues(string message);
    }
}
